package org.thoughtworks.selenium.flex.ui;

import org.thoughtworks.selenium.flex.driver.FlexDriver;

import java.util.Map;

public class SeleniumFlex {

    private SeleniumFlex() {
    }

    public static FlexRoot create(FlexDriver flexDriver) {
        AutomationIdMap map = new AutomationIdMap();
        map.put("id", "null");
        map.put("automationName", "null");
        map.put("className", "runtimeloading");
        map.put("automationClassName", "FlexApplication");
        return new FlexRoot(map, flexDriver);
    }
}
